home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 2 / Atari Mega Archive CD - Volume 2.iso / 8bit / diskutil / ibm2azip.new / makefile < prev    next >
Makefile  |  1993-03-30  |  564b  |  26 lines

  1. # makefile template
  2. # for Power C -- should work with other C compilers, with adjustments
  3.  
  4. CC = pc
  5. LD = pcl
  6. # if you don't have rm under DOS, you can use del instead.
  7. RM = rm
  8. # in PowerC, -f- means compile using dummy float package.
  9. CFLAGS = -c -f-
  10. # in Power C, -d means link using dummy float lib.
  11. LDFLAGS = -d
  12.  
  13. all   :    a2ibm ibm2a
  14.  
  15. a2ibm :    a2ibm.c
  16.     $(CC) $(CFLAGS) a2ibm.c
  17.     $(LD) $(LDFLAGS) a2ibm.mix
  18.     +$(RM) a2ibm.mix
  19.  
  20. ibm2a :    ibm2a.c
  21.     $(CC) $(CFLAGS) ibm2a.c
  22.     $(LD) $(LDFLAGS) ibm2a.mix
  23.     +$(RM) ibm2a.mix
  24.  
  25. .SUFFIXES : .mix .c .h .exe
  26.